<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../Public/css/common.css" type="text/css" />
<title>管理区域</title>
<script type="text/javascript" src="../Public/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="../Public/ckfinder/ckfinder.js"> </script>
<script type="text/javascript">


function getObject(objectId) {
if(document.getElementById && document.getElementById(objectId)) {
// W3C DOM
return document.getElementById(objectId);
}
else if (document.all && document.all(objectId)) {
// MSIE 4 DOM
return document.all(objectId);
}
else if (document.layers && document.layers[objectId]) {
// NN 4 DOM.. note: this won't find nested layers
return document.layers[objectId];
}
else {
return false;
}
}

function showtitle(objname){
var obj = getObject(objname);
if(obj.style.display == "none"){
obj.style.display = "block";
}else{
obj.style.display = "none";
}
}
</script> 
</head>

<body>
	
<div id="man_zone">
	<div id="sub_info">&nbsp;&nbsp;<img src="../Public/images/hi.gif" />&nbsp;<span id="show_text">欢迎使用学技能网后台管理系统!</span></div>       
        <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style" >
    <form action="__URL__/newsadd" method="post">
    <tr>
      <td width="70px"class="left_title_1" ><span class="left-title">当前位置:</span></td>
      <td colspan="5" class="left_title_1" style="text-align: left;"><span class="left-title">内容信息添加</span></td>
    </tr>
        <tr >
      <td  width="70px"class="left_title_2"><span class="left-title">信息类别:</span></td>
       <td  colspan="5" width="10px"class="left_title_2" style="text-align: left;">
           <span class="left-title">
               <select name="news_class">
                   <option value="">选择类别</option>
                   <volist name="classlistshow" id="classlistinfo">
                   <option value="{$classlistinfo.c_name}">{$classlistinfo.c_name}</option>
                   </volist>
               </select>
           </span>
       </td>
      
    </tr>   
    <tr  >
      <td  width="70px"class="left_title_2"><span class="left-title">信息标题:</span></td>
       <td  colspan="4" width="10px"class="left_title_2" style="text-align: left;"><span class="left-title"><input type="text" size="40" style="height: 30px;display: none;" name="news_title"  id="newstitle"/></span></td>
       <td  width="65%"><input type="button"  style="color:#41ACFE;height: 30px;" value="添加" onclick="showtitle('newstitle');" /></td>
    </tr>
     <tr  >
      <td  width="70px"class="left_title_2"><span class="left-title">信息内容:</span></td>
       <td  colspan="5" width="10px"class="left_title_2" style="text-align: left;">
           <span class="left-title">
              <textarea name="news_content" id="news_content" style="display:none;"></textarea>
 	<script type="text/javascript">
            //<![CDATA[
                 var editor = CKEDITOR.replace( 'news_content');
                 CKFinder.setupCKEditor( editor, '../Public/ckfinder/' ) ;
            //]]>
         </script>
           </span>
       </td>
    </tr>
        <tr  >
      <td  width="70px"class="left_title_2"><span class="left-title"></span></td>
       <td  colspan="5" width="10px"class="left_title_2" style="text-align: left;">
           <span class="left-title">
              <input type="submit"  style="color:#41ACFE;height: 30px;" value="添加"  />
           </span>
       </td>
    </tr>
        
   </form>
  </table>
</div>
</body>
</html>
